Рейтинг блюда:
Коллекции:
Пошаговое приготовление
Ваша оценка:

Добавить комментарий



HTTP_Exception_500 [ 500 ]:

APPPATH/classes/Controller/Data/Comment.php [ 80 ]

75 		$model_id = $this->request->param('param1');
76 		$recipe = ORM::factory('Recipe', $model_id);
77 
78 		if ( ! $recipe->loaded())
79 		{
80 			throw new HTTP_Exception_500(Kohana::message('error', '500'));
81 		}
82 
83 		$comments = Comments::get($recipe)->with('user')->with('rating')->active_only()->find_all();
84 
85 		if (count($comments))
  1. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Data_Comment->action_get_recipe_comments()

  2. {PHP internal call} » Kohana_Controller->execute()

  3. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)

  4. SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  5. SYSPATH/classes/Kohana/Request.php [ 986 ] » Kohana_Request_Client->execute(arguments)

  6. APPPATH/views/page/recipe.php [ 675 ] » Kohana_Request->execute()

  7. SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)

  8. SYSPATH/classes/Kohana/View.php [ 348 ] » Kohana_View::capture(arguments)

  9. SYSPATH/classes/Kohana/View.php [ 228 ] » Kohana_View->render()

  10. APPPATH/views/template.php [ 181 ] » Kohana_View->__toString()

  11. SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)

  12. SYSPATH/classes/Kohana/View.php [ 348 ] » Kohana_View::capture(arguments)

  13. APPPATH/classes/Controller/Template.php [ 39 ] » Kohana_View->render()

  14. SYSPATH/classes/Kohana/Controller.php [ 87 ] » Controller_Template->after()

  15. {PHP internal call} » Kohana_Controller->execute()

  16. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)

  17. SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  18. SYSPATH/classes/Kohana/Request.php [ 986 ] » Kohana_Request_Client->execute(arguments)

  19. APPPATH/public_html/index.php [ 118 ] » Kohana_Request->execute()

Environment